<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>RobotComm: ModbusTcpServerNormal类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RobotComm
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_modbus_tcp_server_normal-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ModbusTcpServerNormal类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:adf6d16ae6e57e1d3cb629f4512ace300"><td class="memItemLeft" align="right" valign="top"><a id="adf6d16ae6e57e1d3cb629f4512ace300"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>ReadCode</b> { <br />
&#160;&#160;<b>READ_COILS</b> = 0x01, 
<b>READ_INPUT_BITS</b> = 0x02, 
<b>READ_HOLD_REGS</b> = 0x03, 
<b>READ_INPUT_REGS</b> = 0x04, 
<br />
&#160;&#160;<b>WRITE_COIL</b> = 0x05, 
<b>WRITE_REG</b> = 0x06, 
<b>WRITE_COILS</b> = 0x0F, 
<b>WRITE_REGS</b> = 0x10, 
<br />
&#160;&#160;<b>HEART_BEAT</b> = 0x46
<br />
 }</td></tr>
<tr class="separator:adf6d16ae6e57e1d3cb629f4512ace300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a932d96c6d15e8a33feaf15e00a0df178"><td class="memItemLeft" align="right" valign="top"><a id="a932d96c6d15e8a33feaf15e00a0df178"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>DataSeq</b> { <b>AB_CD_EF_GH</b> = 0, 
<b>GH_EF_CD_AB</b> = 1, 
<b>BA_DC_FE_HG</b> = 2, 
<b>HG_FE_DC_BA</b> = 3
 }</td></tr>
<tr class="separator:a932d96c6d15e8a33feaf15e00a0df178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a615899ead517c6090d7e6c34455af5f0"><td class="memItemLeft" align="right" valign="top"><a id="a615899ead517c6090d7e6c34455af5f0"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>ErrorCode</b> { <b>OK</b> = 0x0, 
<b>ILLEGAL_FUNCTION</b> = 0x1, 
<b>ILLEGAL_ADDRESS</b> = 0x2, 
<b>ILLEGAL_VALUE</b> = 0x3
 }</td></tr>
<tr class="separator:a615899ead517c6090d7e6c34455af5f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ad4c5a9bece919129f7c78b402289cba3"><td class="memItemLeft" align="right" valign="top"><a id="ad4c5a9bece919129f7c78b402289cba3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ModbusTcpServerNormal</b> (el::CommServer *comm_server_=NULL)</td></tr>
<tr class="separator:ad4c5a9bece919129f7c78b402289cba3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad981da4f09116f44907ee8ee0ab934d1"><td class="memItemLeft" align="right" valign="top"><a id="ad981da4f09116f44907ee8ee0ab934d1"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>Execute</b> ()</td></tr>
<tr class="separator:ad981da4f09116f44907ee8ee0ab934d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a350d04edffe5b17e6e22ebe95e01afde"><td class="memItemLeft" align="right" valign="top"><a id="a350d04edffe5b17e6e22ebe95e01afde"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>setServerInfo</b> (<a class="el" href="struct_s_modbus_tcp_server_normal_info.html">SModbusTcpServerNormalInfo</a> *info)</td></tr>
<tr class="separator:a350d04edffe5b17e6e22ebe95e01afde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad27d194b9d70d3c7352b826abb55bef0"><td class="memItemLeft" align="right" valign="top"><a id="ad27d194b9d70d3c7352b826abb55bef0"></a>
<a class="el" href="struct_s_modbus_tcp_server_normal_info.html">SModbusTcpServerNormalInfo</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getServerInfo</b> ()</td></tr>
<tr class="separator:ad27d194b9d70d3c7352b826abb55bef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a613fc2f6746a8eb93386cab6b46226d6"><td class="memItemLeft" align="right" valign="top"><a id="a613fc2f6746a8eb93386cab6b46226d6"></a>
vector&lt; <a class="el" href="struct_s_tcp_connect_client_info.html">STcpConnectClientInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getModbusTcpServerConnectList</b> ()</td></tr>
<tr class="separator:a613fc2f6746a8eb93386cab6b46226d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>该类的文档由以下文件生成:<ul>
<li>E:/RobotProgram/RobotComm/RobotComm/src/<a class="el" href="modbustcp__server__normal_8h_source.html">modbustcp_server_normal.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
